<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.aco.party.dao.custom.${poNameC}Dao">
    <select id="getList" resultType="com.aco.party.model.po.${poNameC}">
        SELECT * FROM wm_${poName}
        ORDER BY create_time desc
    </select>

    <select id="getTotal" resultType="integer">
        SELECT COUNT(1) FROM wm_${poName}
        WHERE 1 = 1
    </select>
</mapper>